<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>订单列表</title>
</head>
<body>
<script type="text/javascript">
	
</script>
		<div style="margin: 10px">
			<input id="equipOrder_Id" style="width: 15%;" class="easyui-textbox" label="订单号"> 				
			<input id="equipOrder_businessName" style="width: 20%;" class="easyui-textbox" label="供应商"> 
			<input id="equipOrder_eorderName" style="width: 15%;" class="easyui-textbox" label="采购员">
			<select id="equipOrder_eorderState" style="width:15%;"  class="easyui-combobox" label="状态" 
					data-options="panelHeight: 'auto'" >
					<option value=""></option>
					<option value="已订购">已订购</option>
					<option value="已入库">已入库</option>
			</select>			
			<a href="#" class="easyui-linkbutton"   style="width: 8%;"  iconCls="icon-search"  data-options="onClick:equipOrderWhere" >查询</a>					
		</div>
		<div class="easyui-panel" fit="true" border="0" style="margin-left:5px;">
			<table class="easyui-datagrid" style="width: 99%;height:487px;" id="equipOrder_list_dg" align="center"
			data-options="url:'get_EquipOrderAll_list',fitColumns:true,singleSelect:true,pagination:true">
			<thead>
				<tr>
					<th align="center" style="width:10%" data-options="field:'eorderId'">订单号</th>
					<th align="center" style="width:20%" data-options="field:'busOrdername'">供应商</th>
					<th align="center" style="width:12%" data-options="field:'eorderBdate'">采购日期</th>
					<th align="center" style="width:12%" data-options="field:'eorderEdate'">到货日期</th>
					<th align="center" style="width:10%" data-options="field:'eorderName'">采购员</th>
					<th align="center" style="width:10%" data-options="field:'eopPhone'">电话</th>
					<th align="center" style="width:10%" data-options="field:'eorderState'">状态</th>
					<th align="center" style="width:16%" data-options="field:'xx',formatter:orderListButton">操作</th>
				</tr>
			</thead>
		</table>
	</div>
	<div>
	
	</div>
	<div id="eplan_order_detail" class="easyui-window" title="查看详情"
		data-options="collapsible:false,minimizable:false,maximizable:false,
		modal:true,closed:true"
		style="width: 810px; height: 400px; padding: 5px;">
		<div  class="easyui-layout"
			data-options="fit:true">
			<div data-options="region:'center'"
				style="padding: 1px;">
				<div id="orderDetsils_print">
					<h4 style="text-align: center">采购订单</h4>
					<table border="0" style="width: 100%" id="tab_order_header">
						<!-- <tr>
							<td style="width: 33%">采购员：<input id ="print_eorderName" value="" style="border:0px;"></td>
							<td style="width: 33%">电话：<input id ="print_eopPhone" style="border:0px;"></td>
							<td style="width: 33%">订单号：<input id ="print_eorderId" style="border:0px;"></td>
						</tr>
						<tr>
							<td style="width: 33%">采购日期：<input id ="print_eorderBdate" style="border:0px;"></td>
							<td style="width: 33%">到货日期：<input id ="print_eorderEdate" style="border:0px;"></td>
						</tr> -->
					</table>

					<table rules="all" border="1" style="width: 100%;" id="print_order_details" >
						<tr>
							<th style="width: 25%" align="center">名称</th>
							<th style="width: 25%" align="center">数量</th>
							<th style="width: 25%" align="center">单位</th>
							<th style="width: 25%" align="center">类型</th>
						</tr>
					</table>
					
				</div>
				

			</div>
			<div data-options="region:'south',border:false"
				style="text-align: right; padding: 5px 0 0;">
				<a href="#" class="easyui-linkbutton" style="width: 8%;margin-left:;"  data-options="onClick:print" >打印</a>
			</div>
		</div>
		
		</div>
</body>
</html>